<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
  <h1>测试请求编码</h1>
  <a href="/servletDemo/EncodServlet?username=张三">GET</a>
  <br/><hr>
  <form action="/servletDemo/EncodServlet" method="POST">
    用户名：<input type="text" name="username" value="李四">
    <br/>
    <input type="submit" name="submit" value="提交">
  </form>
</body>
</html>